#include "proc.h"

static int (*HashFunction)(uint32_t, void *);
static int (*HashCompare) (uint16_t, uint16_t);

ProcCtrlBlock *  procSysInit;
ProcCtrlBlock *  procSysKSlab;


ProcessTable::ProcessTable()
{
	table = new HashTable<ProcCtrlBlock>(DEFAULT_MAX_PROCESSES, HashFunction hf, HashCompare hc);
	table->Add(procSysInit);
	table->Add(procSysKSlab);
}

ProcessTable::~ProcessTable()
{

	delete table;
}


//////////////////////////////////////////////////////
// class ProcCtrlBlock
ProcCtrlBlock::ProcCtrlBlock()
{

}

ProcCtrlBlock::~ProcCtrlBloc()
{

}
